package com.promise.jokerdream.work.manager

import com.promise.jokerdream.work.BaseWorkManager

/**
 * 斗神塔任务管理器
 * 继承BaseWorkManager，用于管理斗神塔相关的后台任务
 */
class FightTowerWorkManager : BaseWorkManager() {

    companion object {
        @Volatile
        private var INSTANCE: FightTowerWorkManager? = null

        /**
         * 获取FightTowerWorkManager单例
         */
        fun getInstance(): FightTowerWorkManager {
            return INSTANCE ?: synchronized(this) {
                INSTANCE ?: FightTowerWorkManager().also { INSTANCE = it }
            }
        }
    }

    override fun getManagerName(): String {
        return "斗神塔"
    }
}